<?php require_once('../../core/import.php');?>
<?php User::Permission('EJOURNAL_SUB_UPDATE'); ?>
<?php
    if($_SERVER['REQUEST_METHOD']=='POST')
    {
        #数据处理
        $Data=array
        ( 
	  		'CompanyName'=>Functions::FormArgs('CompanyName'),
            'Linkman'=>Functions::FormArgs('Linkman'),
			'PhoneNumber'=>Functions::FormArgs('PhoneNumber'),
            'Email'=>Functions::FormArgs('Email'),
			'Remark'=>Functions::FormArgs('Remark')
        );
	
        DB::UpdateRowByID('ejournal_subscription',Functions::FormArgs('ID'),$Data);
        echo '{"Number":"0","Description":"成功修改"}';
    }
?>